home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
Smear.ifx
< prev
next >
Wrap
Text File
|
1996-03-02
|
874b
|
45 lines
/*
* $VER: Smear 1.00.00 (24.9.92)
*
* Arexx program for the ImageFX image processing system.
* Written by Thomas Krehbiel
*
* Smear simulation, used in conjunction with StartWedge.ifx.
*
*/
OPTIONS RESULTS
PARSE ARG cmd x y .
IF x = 2 THEN DO
/* only for free draw */
GetPointList
PARSE VAR RESULT.AREA le te re be
le = le - 4
te = te - 4
width = re-le+1 + 4
height = be-te+1 + 4
EdgeMode Normal
Blend 50
SaveUndo le te width height
BeginBar 'Smearing' RESULT.0
LockGui ; LockInput ; Redraw Off
DO i = 1 TO RESULT.0-1
UnlockGui Quiet ; Bar i ; LockGui
j = i+1
PARSE VAR RESULT.i x y
PARSE VAR RESULT.j nextx nexty
Scissors
Oval x y 4 4
Point nextx nexty
END
KillBrush
UnlockInput ; UnlockGui
EndBar
Blend 100
Redraw On ; Redraw le te width height
END
EXIT